package com.shujia.liaotian.bean;


import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {

    private String id;
    private String ip;
    private String name;
    private String password;
    private Date data;

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", ip='" + ip + '\'' +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", data=" + data +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getData() {
        return data;
    }

    public void setData(Date data) {
        this.data = data;
    }

    public User() {
    }

    public User(String id, String ip, String name, String password, Date data) {
        this.id = id;
        this.ip = ip;
        this.name = name;
        this.password = password;
        this.data = data;
    }
}
